LAURA, A System to Debug Student Programs
نویسندگان
چکیده
A n effort to automate the debugging of real programs is presented. We discuss possible choices in conceiving a debugging system. In order to detect all the semantic errors, it must have a knowledge of what the program is intended to achieve. Strategies and results are very dependent on the way of giving this knowledge. In the LAURA system that we have designed, the program's task is given by means of a 'program model'. Automatic debugging is then viewed as a comparison of programs. The main characteristics of LAURA are the representation of programs by graphs, which gets rid of many syntactical variations, the use of program transformations, realized on the graphs, and its heuristic strategy to identify step by step the elements of the graphs. It has been tested with about a hundred programs written by students to solve eight different problems in various fields. It is able to recognize correct programs even if their structures are very different from the structure of the program model. It is also able to express exact diagnostics of errors, or at least to localize them. It could be an effective tool for students programmers.
منابع مشابه
Model Based Diagnosis in ITS for Programming with Pedagogical Patterns
It is not easy for a student to develop programming skills and learn how to construct their own problem solving algorithms. Well designed materials and tools can guide programming students knowledge and skill construction. Such tools may allow students to acquire better and faster the necessary programming skills. In this paper we show the results of some experiments realized on a set of faulty...
متن کاملHealth Management Mentoring for Health Systems Strengthening: A Response to Recent Commentaries
متن کامل
Reasoning About DrScheme Programs in ACL2
Beginning programmers need to learn more than the syntax of programming languages. They also need to learn how to reason about the programs they write. Thus we believe that beginners will benefit from tools that help them understand their programs, just as they already benefit from IDEs that help them to build and debug their programs. This paper describes a project aimed at automating some of ...
متن کاملAutomated Debugging of Logic Programs via Theory Revision
This paper presents results on using a theory revision system to automatically debug logic programs. Forte is a recently developed system for revising function-free Horn-clause theories. Given a theory and a set of training examples, it performs a hillclimbing search in an attempt to minimally modify the theory to correctly classify all of the examples. Forte makes use of methods from propositi...
متن کاملGender Differences in End-User Debugging Strategies
Little is known about the strategies end-user programmers use in debugging their programs, and even less is known about gender differences that may exist in these strategies. Without this type of information, end-user programming systems cannot know the ―target‖ at which to aim, if they are to support male and female end-user programmers’ debugging. In this paper, we present a study investigati...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Artif. Intell.
دوره 15 شماره
صفحات -
تاریخ انتشار 1980